//
//  Banner.m
//  YYZB
//
//  Created by 顾悦 on 16/3/24.
//
//

#import "Banner.h"

@implementation Banner

- (instancetype)initWithDictionary:(NSDictionary *)d {
    Banner *item = [self class].new;
    item.ID = d[@"BannerId"];
    item.imageLevel = d[@"ImageLevel"];
    item.category = d[@"ServiceCat1Id"];
    item.subcategory = d[@"ServiceCat2Id"];
    item.productID = d[@"ServiceProductId"];
    item.imageType = d[@"ImageType"];
    item.imagePath = d[@"ImagePath"];
    item.linkUrl = d[@"LinkUrl"];

    return item;
}

@end
